package com.bianmin.Model;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

@Data
public class Comment {
    private Integer id;         //主键id
    private String userId;      //用户id
    private String articleId;   //文章id
    private String content;     //评论内容
    private String createTime;  //评论时间
    @TableField(exist = false)
    private String nickName;        //用户昵称
    @TableField(exist = false)
    private String icon;            //用户头像
}
